home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / grafica / pvrgjpeg / marker.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  56 lines

  1. /*************************************************************
  2. Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved.
  3. PUBLIC DOMAIN LICENSE: Stanford University Portable Video Research
  4. Group. If you use this software, you agree to the following: This
  5. program package is purely experimental, and is licensed "as is".
  6. Permission is granted to use, modify, and distribute this program
  7. without charge for any purpose, provided this license/ disclaimer
  8. notice appears in the copies.  No warranty or maintenance is given,
  9. either expressed or implied.  In no event shall the author(s) be
  10. liable to you or a third party for any special, incidental,
  11. consequential, or other damages, arising out of the use or inability
  12. to use the program for any purpose (or the loss of data), even if we
  13. have been advised of such possibilities.  Any public reference or
  14. advertisement of this source code should refer to it as the Portable
  15. Video Research Group (PVRG) code, and not by any author(s) (or
  16. Stanford University) name.
  17. *************************************************************/
  18.  
  19. /*
  20. ************************************************************
  21. marker.h
  22.  
  23. Some basic definitions of commonly occurring markers.
  24.  
  25. ************************************************************
  26. */
  27.  
  28. #ifndef MARKER_DONE
  29. #define MARKER_DONE
  30.  
  31. #define END_QUANTIZATION_TABLE 0xFF
  32. #define END_CODE_TABLE 0xFF
  33.  
  34. #define MARKER_MARKER 0xff
  35. #define MARKER_FIL 0xff
  36.  
  37. #define MARKER_SOI 0xd8
  38. #define MARKER_EOI 0xd9
  39. #define MARKER_SOS 0xda
  40. #define MARKER_DQT 0xdb
  41. #define MARKER_DNL 0xdc
  42. #define MARKER_DRI 0xdd
  43. #define MARKER_DHP 0xde
  44. #define MARKER_EXP 0xdf
  45.  
  46. #define MARKER_DHT 0xc4
  47.  
  48. #define MARKER_SOF 0xc0
  49. #define MARKER_RSC 0xd0
  50. #define MARKER_APP 0xe0
  51. #define MARKER_JPG 0xf0
  52.  
  53. #define MARKER_RSC_MASK 0xf8
  54.  
  55. #endif
  56.